﻿<UserControl x:Class="diary.EventControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="35" d:DesignWidth="600">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Name="FirstColumn" Width="20"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Label Content="{Binding Event.Rank}" Grid.Column="0" />
        <TextBox Name="TxtEvent" Text="{Binding Event.Content}" Grid.Column="1" FontSize="20"  Margin="3,3,10,3" Padding="3,5,3,3" Foreground="#FF6569B6" />
    </Grid>
</UserControl>
